//
//  intrusive_node.hpp
//  utilities
//
//  Created by Sam Jaffe on 5/10/13.
//  Copyright (c) 2013 Sam Jaffe. All rights reserved.
//

#pragma once

template <typename T>
intrusive_node<T>::intrusive_node(pointer ptr) :
ptr_(ptr) {
    
}

template <typename T>
intrusive_node<T>::~intrusive_node() {
    if (list_) { list_->remove(ptr_); }
}
